
const state = {
	size:'mini',//设置全局大小【如按钮、表格等】
	
}

const mutations = {
	SET_SIZE: (state, size) => {
	  state.size = size
	}
}

const actions = {
	//设置全局大小【如按钮、表格等】
	setSize({commit},size){
		commit('SET_SIZE',size)
	}
}

export default {
	namespaced: true,
	state,
	mutations,
	actions
}
